package cn.lj.domain;

/**
 * @author lj
 * @Description:
 * @date 2020-12-04 13:30
 * @QQ 851477108
 */


public class Book {
    private long bookId;//图书ID
    private String name;//图书名称
    private int number;//馆藏数量
    private String intros;

    public Book() {
    }

    public Book(long bookId, String name, int number, String intros) {
        this.bookId = bookId;
        this.name = name;
        this.number = number;
        this.intros = intros;
    }

    public long getBookId() {
        return bookId;
    }

    public void setBookId(long bookId) {
        this.bookId = bookId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getIntros() {
        return intros;
    }

    public void setIntros(String intros) {
        this.intros = intros;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookId=" + bookId +
                ", name='" + name + '\'' +
                ", number=" + number +
                ", intros='" + intros + '\'' +
                '}';
    }
}
